Skip to content

e2e: add rollback, pause/resume, and non-existing image tests#115

Open
ptalgulk01 wants to merge 1 commit into
bootc-dev:mainfrom
ptalgulk01:e2e-passing-tests
Open

e2e: add rollback, pause/resume, and non-existing image tests#115
ptalgulk01 wants to merge 1 commit into
bootc-dev:mainfrom
ptalgulk01:e2e-passing-tests

Conversation

@ptalgulk01

Copy link
Copy Markdown

Fixes #69 (items 1, 2, 3) : Add three new e2e test scenarios from #69:

  • Rollback (item 1): Extend TestUpdateReboot with phases 7-8 that roll back to the original image and verify the node returns to Idle with the original digest
  • Pause/Resume (item 2): Add TestPauseResume that starts an update with paused=true, verifies the node stages but does not reboot, then resumes and verifies the update completes
  • Non-existing image (item 3): Add TestNonExistingImage that updates to a corrupted digest and verifies the node enters Degraded state with Reason=Error while remaining booted on the original image

All three tests pass against a bink cluster.

Test plan

  • TestControllerMembership — PASS (pre-existing)
  • TestUpdateReboot (with rollback) — PASS
  • TestTagResolution — PASS (pre-existing)
  • TestPauseResume — PASS
  • TestNonExistingImage — PASS

Signed-off-by: Prachiti Talgulkar <ptalgulk01@users.noreply.github.com>
@ptalgulk01

Copy link
Copy Markdown
Author

cc @alicefr @jlebon can ptal?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

E2e test planning

1 participant